package com.jindy.module.oaPayApproval.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 报销明细对象 sy_pay_detail
 * 
 * @author jindy
 * @date 2023-06-16
 */
public class SyPayDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 费用类别 */
    @Excel(name = "费用类别")
    private String detailType;

    /** 报销内容 */
    @Excel(name = "报销内容")
    private String detailComment;

    /** 数量 */
    @Excel(name = "数量")
    private String detailQuantity;

    /** 单价 */
    @Excel(name = "单价")
    private String detailPrice;

    /** 小计 */
    @Excel(name = "小计")
    private String totalMoney;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDetailType(String detailType) 
    {
        this.detailType = detailType;
    }

    public String getDetailType() 
    {
        return detailType;
    }
    public void setDetailComment(String detailComment) 
    {
        this.detailComment = detailComment;
    }

    public String getDetailComment() 
    {
        return detailComment;
    }
    public void setDetailQuantity(String detailQuantity) 
    {
        this.detailQuantity = detailQuantity;
    }

    public String getDetailQuantity() 
    {
        return detailQuantity;
    }
    public void setDetailPrice(String detailPrice) 
    {
        this.detailPrice = detailPrice;
    }

    public String getDetailPrice() 
    {
        return detailPrice;
    }
    public void setTotalMoney(String totalMoney) 
    {
        this.totalMoney = totalMoney;
    }

    public String getTotalMoney() 
    {
        return totalMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("detailType", getDetailType())
            .append("detailComment", getDetailComment())
            .append("detailQuantity", getDetailQuantity())
            .append("detailPrice", getDetailPrice())
            .append("totalMoney", getTotalMoney())
            .toString();
    }
}
